﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace TSL.WcfResult
{
    [DataContract]
    public sealed class UserInfoResult:Results
    {
        /// <summary>
        /// 错误简化模式
        /// </summary>
        public UserInfoResult()
        {
            Profit = "0";
            Lockmoney = "0";
            Usermoney = "0";
            this.Parameter = "";
            this.Error = "";
            this.Result = 0;
        }

        /// <summary>
        /// 错误简化模式
        /// </summary>
        public UserInfoResult(int result, string error)
        {
            Profit = "0";
            Lockmoney = "0";
            Usermoney = "0";
            this.Parameter = "";
            this.Error = error;
            this.Result = result;
        }
        [DataMember]
        public string Usermoney { get; set; }
        [DataMember]
        public string Lockmoney { get; set; }
        [DataMember]
        public string Profit { get; set; }
        [DataMember]
        public string LoginIp { get; set; }
        [DataMember]
        public string Levels { get; set; }
    }
}
